package com.mzj.saas.mservice.lock.Repository;


import com.mzj.saas.mservice.lock.entity.MatchUserLockAuthor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface MatchUserLockAuthorRepository extends PagingAndSortingRepository<MatchUserLockAuthor,Long>, JpaSpecificationExecutor<MatchUserLockAuthor>, JpaRepository<MatchUserLockAuthor, Long> {
    MatchUserLockAuthor findByIdAndMatchUserStockId(Long id, String matchUserStockId);

    List<MatchUserLockAuthor> findByHouseId(String houseId);
}
